package testers;

import javax.swing.ImageIcon;

import model.Figure;
import control.FieldsControl;
import control.GameControl;
import control.IFieldsControl;
import control.IPlayerControl;
import control.KIControl;
import control.PlayerControl;




public class jochen_FieldsTesten {

	public static void main(String[] args) {
		
		IPlayerControl playercontrol = new PlayerControl();
		IFieldsControl fieldscontrol = new FieldsControl();
		
		playercontrol.createPlayer("player", 0, false, new ImageIcon("Images/success.png"));
		
		int player = 0;
		
		playercontrol.setActivePlayer(player);
		
		for(int i = 0; i<40; i++)
		{
			fieldscontrol.setOwner(i, player);
		}
		
		
		
		KIControl kic = new KIControl();
		
		System.out.println("hol dir geld KI! : " + playercontrol.getPlayerBudget(player));
		kic.getMoney(2000);
		System.out.println("nachher: "+playercontrol.getPlayerBudget(player));
	}

}
